package cn.hairui.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author laoganbu
 * @since 2020-04-27
 */
public class Visitrecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 访问日期
     */
    @TableField("VISIT_DATE")
    private String visitDate;

    /**
     * IP地址
     */
    @TableField("IP_ADDRESS")
    private String ipAddress;

    /**
     * 本次访问时间
     */
    @TableField("LAST_VISIT_TIME")
    private String lastVisitTime;

    /**
     * 访问次数
     */
    @TableField("VISIT_COUNT")
    private Integer visitCount;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVisitDate() {
        return visitDate;
    }

    public void setVisitDate(String visitDate) {
        this.visitDate = visitDate;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getLastVisitTime() {
        return lastVisitTime;
    }

    public void setLastVisitTime(String lastVisitTime) {
        this.lastVisitTime = lastVisitTime;
    }

    public Integer getVisitCount() {
        return visitCount;
    }

    public void setVisitCount(Integer visitCount) {
        this.visitCount = visitCount;
    }

    @Override
    public String toString() {
        return "Visitrecord{" +
        "id=" + id +
        ", visitDate=" + visitDate +
        ", ipAddress=" + ipAddress +
        ", lastVisitTime=" + lastVisitTime +
        ", visitCount=" + visitCount +
        "}";
    }
}
